package practice02;

/**
 * @author Administrator
 * @version V1.0
 * @ProjectName:IntelliJ IDEA
 * @PackageName: practice02
 * @ClassName: Tiger
 * @Description: TODO(这里用一句话描述这个类的作用)
 * @date 2019/12/8 14:06
 * @Copyright 大牛版板所有
 */
public class Tiger extends Animal {
    public Tiger() {
    }

    public Tiger(String name, int age, String gender) {
        super(name, age, gender);
    }


    @Override
    public void eat(){
        System.out.println("是一个"+this.getGender()+"的老虎，今年"+this.getAge()
                +"岁了，非常喜爱吃肉！");
    }
}
